import http from "./request";
// 弹框数据接口
export function PopupApi() {
  return http({
    url: "/home/getFirstClassify",
    method: "GET",
  });
}
// 导航头部接口
export function HeaderApi(id) {
  return http({
    url: `/home/exam/${id}`,
    method: "GET",
  });
}
// 弹框详情接口
export function PopupChenApi(id) {
  console.log(id);
  return http({
    url: `/home/getMajor/${id}`,
    method: "GET",
  });
}
// tab接口
export function TabChenApi(id) {
  console.log(id);
  return http({
    url: `/home/getSecondClassify/${id}`,
    method: "GET",
    id,
  });
}
// 轮波图
export function BanderApi(data) {
  return http({
    url: `/home/banner/${data}/4`,
    method: "GET",
    data,
  });
}
// 直播
export function ZhibuoApi(id) {
  return http({
    url: `/home/marketingCourse/${id}`,
    method: "GET",
  });
}
// tabs
export function TabsApi(id) {
    return http({
      url: `/home/classifyCourse/${id}`,
      method: "GET",
    });
}
